<script lang="ts" setup>

	interface IProps {
		address: string;
	}

	defineOptions({
		name: 'DetailAddress'
	});

	const props = defineProps<IProps>();
</script>

<template>
	<div class="address-bd">
		<span class="iconfont icon-positioning"></span>
		<span class="address-text">{{ props.address ?? '-' }}</span>
	</div>
</template>

<style lang="scss" scoped>
	.address-bd {
		display: flex;
		align-items: center;
		min-height: .44rem;
		padding: .1rem .15rem;
		background-color: #fff;
		border-bottom: 1px solid #ddd;
		box-sizing: border-box;

		.icon-positioning {
			font-size: .18rem;
			margin-right: .1rem;
			color: #999;
		}

		.address-text {
			font-size: .14rem;
			line-height: .18rem;
		}
	}
</style>